import http from '@/utils/http.js'

export function getCategoryAPI() {
    return http({
        // url: '/api/home/category/head',
        // url: '/order/api/categories/getCategories',
        url: '/admin/api/category/tree',
        method: 'get'
    })
}